package com.situ.mall.oop;

public class Person implements Cloneable{
    public Integer age;
    public int[] arr = {1, 2};

    public Person(Integer age) {
        this.age = age;
    }

    @Override
    protected Person clone() {
        try {
            return (Person) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new RuntimeException(e);
        }
    }
}
